package com.koi.web.controller.demo.easyexecl;

import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ･ᴗ･
 * @description [ExcelService导出业务接口]
 */
public interface ExcelService {

    /**
     * @param multipartFile 文件流
     * @description [excel导入-单个sheet]
     * @author ･ᴗ･
     */
    void excelImport(MultipartFile multipartFile);

    /**
     * @param response 响应体
     * @description [excel导出-单个sheet]
     * @author ･ᴗ･
     */
    void excelExport(HttpServletResponse response);

    /**
     * @param multipartFile 文件流
     * @description [excel多入-多个sheet]
     * @author ･ᴗ･
     */
    void excelSheetImport(MultipartFile multipartFile);

    /**
     * @param response 响应体
     * @description [excel导出-多个sheet]
     * @author ･ᴗ･
     */
    void excelSheetExport(HttpServletResponse response);

    /**
     * @param response 响应流
     * @description [excel模板导出-单个sheet]
     * @author ･ᴗ･
     */
    void excelTemplate(HttpServletResponse response);

    /**
     * @param response 响应流
     * @description [excel模板导出-多个sheet]
     * @author ･ᴗ･
     */
    void excelSheetTemplate(HttpServletResponse response) throws Exception;

    /**
     * @param response 响应流
     * @description [excel模板大数据]
     * @author ･ᴗ･
     */
    void bigDataEasyExecl(HttpServletResponse response) throws Exception;

}
